import request from "../util/request";

// 选课管理相关接口

// 查询选课列表
export const selectChooseList = function (params = {}) {
  return request({
    url: "/admin/choose",
    method: "get",
    params: params,
  });
};

// 根据ID删除选课记录
export const deleteChooseById = function (params = {}) {
  return request({
    url: "/admin/choose",
    method: "delete",
    data: params,
  });
};
